package cn.j229.bug.zhongxuan.hualian;

//import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Author smile_ZhongXuan
 * @Date 2020/10/15 11:05
 * @Version 1.0
 */

// mybatis-spring-boot 提供了一个扫描mapper并注入
// tk.mybatis也需要扫描Mapper
// 此处应该使用tk的方式
@SpringBootApplication
@MapperScan("cn.j229.bug.zhongxuan.hualian.mapper")
public class MainController {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(MainController.class, args);
    }
}
